package com.business.business.service.impl;

import com.business.business.entity.OepreUser;
import com.business.business.repository.OepreUserRepository;
import com.business.business.service.OepreUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OepreUserServiceImpl implements OepreUserService {

    @Autowired
    private OepreUserRepository oepreUserRepository;

    @Override
    public List<OepreUser> findOepreUserByParentid(String parentid) {
        return oepreUserRepository.findOepreUserByParentid(parentid);
    }
}
